<template>
  <div class="dashboard-container">
    <div class="dashboard-text">
      <p  class="ql-editor" v-html="html"></p>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import { mapState, mapActions } from "vuex";
import {culturalWall} from '@/api/user'
  import {
    quillEditor
  } from 'vue-quill-editor'
  import 'quill/dist/quill.core.css'
  import 'quill/dist/quill.snow.css'
  import 'quill/dist/quill.bubble.css'
export default {
  data(){
    return{
      html:""
    }
  },
  name: 'Dashboard',
    // computed: {
    //     ...mapState({
    //          print:state=>state.getUser
    //     })
    //   },
  mounted(){

    this.culturalWall()
  },
  methods:{
    culturalWall(){
      culturalWall().then(res=>{
        if(res.code==200){
          this.html=res.data.records[0].content
        }else{
          this.$message.error(res.msg)
        }
      })
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
